﻿using SIG.Core;
using SIG.Resources;
using SIG.Resources.Admin;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace SIG.Model
{
    public class ProductPhoto : Entity<int>
    {
        public ProductPhoto()
        {
            this.EntityName = EntityNames.ProductPhoto;
        }
       

        [Display(Name = "主题")]
        //public string Title { get; set; }
        public string ImgURL { get; set; }
        [Display(Name = "排序")]
        public int Importance { get; set; }
        public int ProductId { get; set; }

        public virtual Product Product { get; set; }
    }
}
